package com.runvp.common.enums;


/**
 * 用户类型（customer:顾客,proxy:代理用户,common:普通用户）
 * @author xukk_dp
 */

public enum UserType implements BaseEnumInterface {

    CUSTOMER("customer", "顾客"),
    CHANNEL_USER("channelUser", "渠道用户"),
    CLOUD_CARD("cloudCard", "云卡"),
    PROXY("proxy", "代理用户"),
    COMMON("common", "普通用户");

    private final String code;
    private final String desc;
    private String defaulted;

    UserType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    UserType(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }

    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String getDefaulted() {
        return defaulted;
    }
}
